export const newObject = {
  id: 12345,
  isActive: true,
  emptyString: '',

  name: '更新后的测试产品',
  price: 249.99,
  description: '这是一个更新后的测试产品描述',
  code: 'PROD-001-NEW',

  rating: 4.5,
  inStock: true,

  nullValue: '现在有值了',

  newProperty: '这是新增的属性',
  newNumberProperty: 42,
  newBoolProperty: false,
  newNullProperty: null,
  newObjectProperty: {
    key1: '值1',
    key2: '值2',
  },
  newArrayProperty: ['新', '数组'],

  createdAt: new Date('2023-02-20T10:45:00Z'),

  metadata: {
    category: '智能设备',
    tags: ['新品', { 属性: ['用于显示数组相同项的改变'] }, '促销'],
    supplier: {
      contact: 'support@supplier-a.com',
      address: '供应商地址',
      id: '501',
    },
    extra: {
      warranty: '1年',
      origin: '中国',
    },
    test1: undefined,
    test2: undefined,
    test: '只是这样的.',
  },

  variants: [
    {
      id: 1,
      color: '红色',
      size: 'SS',
      stock: 10,
      features: [
        '防水',
        '速干',
        {
          x: '防风',
          name: '防风',
          value: ['你说你是', { nini: 555 }],
        },
        ['33', '就是这样', 33, '你你你'],
      ],
    },
    {
      id: 2,
      color: '深蓝色', // 修改
      size: 'M',
      stock: 25, // 修改
      features: ['透气', '轻量', '抗菌'],
      discount: 0.1, //
    },
    {
      id: 4,
      color: '绿色',
      size: 'XL',
      stock: 8,
      features: ['环保', '可回收'],
    },
    // 新增第四项
    {
      id: 5,
      color: '紫色',
      size: 'XXL',
      stock: 5,
      features: ['高端', '定制'],
    },
  ],
  config: {
    option1: '值1',
    option2: '值2',
    option3: '值3',
  },

  tags: ['智能', '家电', '高端', '电子', '新增标签'],

  prices: [100, 249.99, 399.99],
};
